<template>
  <div class="info-top">{{title}}<span></span></div>
</template>

<script>
export default {
  name: "xy-info-top",
  props: {
    title: String
  }
};
</script>

<style lang="scss" scoped>
@import "../assets/scss/variable.scss";
.info-top {
  font-size: 16px;
  color: $xy-text-color-primary;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  position: relative;
  line-height: 1;
  span {
    position: absolute;
    left: 0;
    top: 18px;
    height: 20px;
    width: 3px;
    background-color: #00aaee;
  }
}
</style>
